package edu.zut.cs.software.estateagent.contract.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import edu.zut.cs.software.base.domain.BaseEntity;

//用注解描述持久化类和数据库表的对应联系
@Table(name = "T_Contract") // 声名数据库表名
@Entity // 声名持久化类
public class Contract extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 33775908080634929L; // 生成序列化ID，防止反序列化失败
	String C_time; // 合同签订时间
	String B_name; // 买方的姓名
	String B_tel; // 买方的联系电话
	String Se_name; // 卖方的姓名
	String Se_tel; // 卖方的联系电话
	String Sa_name; // 业务员的姓名
	String P_name; // 房源的名称
	String A_price; // 实际成交价格

	public String getC_time() {
		return C_time;
	}

	public void setC_time(String c_time) {
		C_time = c_time;
	}

	public String getB_name() {
		return B_name;
	}

	public void setB_name(String b_name) {
		B_name = b_name;
	}

	public String getB_tel() {
		return B_tel;
	}

	public void setB_tel(String b_tel) {
		B_tel = b_tel;
	}

	public String getSe_name() {
		return Se_name;
	}

	public void setSe_name(String se_name) {
		Se_name = se_name;
	}

	public String getSe_tel() {
		return Se_tel;
	}

	public void setSe_tel(String se_tel) {
		Se_tel = se_tel;
	}

	public String getSa_name() {
		return Sa_name;
	}

	public void setSa_name(String sa_name) {
		Sa_name = sa_name;
	}

	public String getP_name() {
		return P_name;
	}

	public void setP_name(String p_name) {
		P_name = p_name;
	}

	public String getA_price() {
		return A_price;
	}

	public void setA_price(String a_price) {
		A_price = a_price;
	}

}
